package com.mjh.service;

import com.github.pagehelper.PageInfo;
import com.mjh.bean.Activity;
import com.mjh.bean.Clue;
import com.mjh.vo.ClueVo;
import com.mjh.vo.PieData;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Set;

public interface ClueService {
    PageInfo<ClueVo> queryClueListPage(Integer current, Integer size);

    Boolean saveClue(Clue clue);

    Clue queryClueInfoById(Integer clueId);

    Boolean modifyClue(Clue clue);
    /**
     * 批量导入线索
     * @param file
     */
    void batchSaveClue(MultipartFile file) throws IOException;

    ClueVo queryClueDetailInfoById(Integer id);

    Boolean removeClueById(Integer id);

    Boolean removeClueByIds(List<Integer> ids);

    List<PieData> queryNotewayList();


    Boolean transformToCustomer(Integer clueId);


    Set<ClueVo> queryClueNameList();
}


